# -*- coding: utf-8 -*-
#!/usr/bin/env python
# encoding: utf-8
import os
os.environ['DJANGO_SETTINGS_MODULE'] = 'settings'

from google.appengine.dist import use_library
use_library('django', '1.1')
import wsgiref.handlers
#wsgiref
from google.appengine.ext import webapp
from app.views import *

application = webapp.WSGIApplication([
	('/', IndexHandler),
	('/forum',ForumHandler),
	('/topics',TopicHandler),
	('/users',UserPageHandler),
	('/communities',CommunityHandler),
	('/event',EventHandler),
	('/blog',BlogHandler)
], debug=True)

def main():
		wsgiref.handlers.CGIHandler().run(application)

if __name__ == '__main__':
	main()